/**
 * 
 */
function print_order_list(obj){
	var order=$('<table>'+$(obj).html()+'</table>');
	$(order).children('tfoot').remove().end().find('tr').find('th:first,td:first,td:last,th:last').remove();
	var str='<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'+
		'<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">'+
		'<title>订单列表</title><style type="text/css">'+
		'body{margin:0}'+
		'h1{font-size:20px;line-height:20px;text-align:center;margin:10px;}'+
		'h2{font-size:14px;line-height:20px;margin:10px 0;border-bottom:1px solid #ddd;}'+
		'table.result{width:100%; border-collapse:collapse;border:0;font-size:12px;border:1px solid #ddd;}'+
		'table.result tr.c{background:#F8FFB1}'+
		'table.result td{line-height:20px;text-align:center; vertical-align:middle;border:1px solid #ddd;}'+
		'table.result th{line-height:20px;border:1px solid #ddd;vertical-align:middle;}'+
		'table.result thead,table.result thead td{height:23px;}'+
		'table.result tbody td{padding:5px;}'+
		'table.result tbody th{text-align:right;padding:5px;}'+
		'td.price{text-align:right;}'+
		'a{color:#000;text-decoration:none;}'+
		'tfoot{display:none;}'+
		'.btn_print{text-align:right;padding:5px}'+
		'</style><style type="text/css" media="print">'+
		'.btn_print{display:none;}'+
		'</style></head><body>'+
		'<p class="btn_print"><a href="javascript:window.print()">打印</a></p>'+
		'<h1>订单列表</h1>'+
		'<table width="100%" class="result">'+$(order).html()+'</table>'+
		'</body></html>';
	var OpenWindow=window.open("","PrintWin");
	OpenWindow.document.write(str);
	OpenWindow.document.close();
	OpenWindow.print();
}